package com.example.homework.h2021_04_28.fragment.adapter.viewholder;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import com.example.homework.R;

//视图项
public class CircleViewHolder  extends RecyclerView.ViewHolder {
    public TextView tvTitle;
    public TextView tvAuthor;
    public ImageView ivThumb;
    public CircleViewHolder(@NonNull View itemView) {
        super(itemView);
        tvTitle = itemView.findViewById(R.id.tv_article_title);
        tvAuthor = itemView.findViewById(R.id.tv_author_name);
        ivThumb = itemView.findViewById(R.id.iv_article_thumbnail);
    }
}
